package tnp.dao;

import tnp.model.ItemMasterData;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.TransactionIsolationLevel;

import static com.google.common.collect.Maps.newHashMap;
import com.google.code.ibaguice.dao.AbstractTransactionalDao;
import com.google.code.ibaguice.dao.Transactional;
import com.google.common.collect.ImmutableMap;
import com.google.inject.Singleton;
import com.google.inject.internal.Nullable;

public class ItemMasterDaoImpl extends AbstractTransactionalDao implements ItemMasterDao
{
	@Override
	public int insertItemMaster(ItemMasterData insertData)
	{
		return insert("ItemMaster.insertItemMaster", insertData);
	}
	@SuppressWarnings("unchecked")
	@Override
	public List<ItemMasterData> selectItemMaster()
	{
		return selectList("ItemMaster.selectItemMaster");
	}
	@Override
	public int updateItemMaster(ItemMasterData updateData)
	{
		return update("ItemMaster.updateItemMaster", updateData);
	}
	@Override
	public int deleteItemMaster()
	{
		return delete("ItemMaster.deleteItemMaster");
	}
}
